import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";

export class GetLittleThingDTO {
    @ApiPropertyOptional({ description: '标题' })
    readonly ThingName: string;
    @ApiProperty({ description: '页码' })
    readonly Page: number;
    @ApiProperty({ description: '每页条数' })
    readonly PageSize: number;
}
  
export class LittleThingInfo {
    @ApiProperty()
    ThingName: string;
}